package com.yct.springcloud.entity.pay;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 支付
 * </p>
 *
 * @author yct
 * @since 2020-07-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Payment implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 支付项目
     */
    private String payProject;
    /**
     * 支付时间
     */
    private LocalDateTime payTime;
    /**
     * 支付金额
     */
    private BigDecimal payAmount;

    public Payment(String payProject,LocalDateTime payTime,BigDecimal payAmount){
        this.payProject = payProject;
        this.payTime = payTime;
        this.payAmount = payAmount;
    }



}
